#include<stdio.h>

#define ONE_FLAG (1<<0)
#define TWO_FLAG (1<<1)
#define THREE_FLAG (1<<2)
#define FOUR_FLAG (1<<3)

void Print(int flags)
{
  if(flags & ONE_FLAG)
  {
    printf("one\n");
  }
  if(flags & TWO_FLAG)
  {
    printf("two\n");
  }
  if(flags & THREE_FLAG)
  {
    printf("THREE\n");
  }
  if(flags & FOUR_FLAG)
  {
    printf("FOUR\n");
  }
}

int main()
{
  Print(ONE_FLAG);
  printf("\n");
  Print(TWO_FLAG);
  printf("\n");
  Print(THREE_FLAG);
  printf("\n");
  Print(FOUR_FLAG);
  printf("\n");
  Print(ONE_FLAG | TWO_FLAG);
  printf("\n");
  Print(ONE_FLAG | TWO_FLAG | THREE_FLAG);
  printf("\n");
  return 0;
}
